• Lipo Battery reference

    Expansion Board lipo battery gpy power expansion board
    4
    0 Votes
    4 Posts
    1k Views
    G
    @seb Thanks a lot for quick response!
  • Unable to mound SD Card

    LoPy lopy sd card expansion board
    8
    0 Votes
    8 Posts
    2k Views
    E
    @Robin did you fix it?, I am trying to do the sema thing continuous mounting and resettind the SD Card. and sometimes I get the error: OSError: the requested operation is not possible, when i use "sd = SD()". and when I use "os.fsformat('/sd')" the program stop and I can only run again when I use the push button reset.
  • 0 Votes
    4 Posts
    1k Views
    L
    @iber Just for the info if you need some details https://forum.pycom.io/topic/1022/root-causes-of-high-deep-sleep-current
  • Starting with LoPy

    Discussion lopy expansion board upload failure
    3
    1 Votes
    3 Posts
    1k Views
    robert-hhR
    @aimette You can set up your own firmware build environment from the repository at https://github.com/pycom/pycom-micropython-sigfox, which in addition to changing the frequency allows you to embed your Python code into the flash, if it solid.
  • 0 Votes
    5 Posts
    1k Views
    J
    @robin UART0 is a bit special - need to look into that myself - but you can easily redefine the UART1 pins (and UART2 unless on the GPy/FiPy)
  • 0 Votes
    3 Posts
    1k Views
    megabyteM
    @robert-hh Thanks for the detailed reply and clarifying that it's DTR and RTS!
  • Need Expansion Board to run?

    Expansion Board expansion board deep sleep sipy
    4
    0 Votes
    4 Posts
    1k Views
    T
    It is indeed mentioned in this post. So I'll be able to get rid of the expansion board but not the deep sleep shield for it to be fully efficient That's exactly what I was thinking but I wanted to be sure about especially about the current since it worked but I was sure there will still be current consumption problems without the shield. Thank you for your fast reply, this will reduce the size of my project.
  • I2C at expansion board

    Expansion Board i2c expansion board lopy
    8
    1
    0 Votes
    8 Posts
    2k Views
    ledbelly2142L
    @lopyusr I apologize, I misunderstood. I provided too much info on something not your issue. I'm assuming you are using this driver and example: HERE And documentation HERE
  • DeepSleep Still Randomly Ending

    SiPy deepsleep expansion board sipy
    6
    0 Votes
    6 Posts
    2k Views
    S
    @bradnz Exactly which version of deepsleep.py did you use? There are many commits which mention version 1.0.0 for this file. I am trying your solution, but it's not working for me on LoPy.
  • 0 Votes
    8 Posts
    2k Views
    W
    Yes, of course, i have level coverter from 5 to 3,3V, so solution: using pin 9 and 10 for SD card and pins 5,6,7,8 can be used as UART RX/TX. following my code implementation?
  • 0 Votes
    8 Posts
    2k Views
    A
    @jorismathijssen Hi Joris. Did you tried tot upload thé firmware again? Be sure to powercycle your device. Did you run dfu utils with elevated rights? (Admin on Windows of sudoku on Linux?) Good luck
  • Upload Libraries

    Comments & Feedback pytrack lopy expansion board
    4
    1
    0 Votes
    4 Posts
    2k Views
    RobTuDelftR
    @mj If you are familiar with Python: when you import functionality (with the import statement), from another file (known as a module), you don't have to specify the exact path of the module. The Python run-time will actually look for the imported file in the paths as specified by sys.path. Be sure to read this as it might be helpful for you.
  • 0 Votes
    2 Posts
    874 Views
    robert-hhR
    @gmaitre The 3.3 V output can supply up to 1 A current, so supplying a DHT22 and GPS module should not be a problem. The PyTrack board has an additional connector on the bottom, with some GPIO pins exposed, for instance P10 (G17) and P11 (G22). These could be used to connect the DHT22.
  • 0 Votes
    1 Posts
    873 Views
    No one has replied
  • 0 Votes
    8 Posts
    2k Views
    L
    @kop524 said in temerature sensor for Wipy 2.0 w/ext. board: As near all pins can be redirected then choose is quite simple i only ommit for sensors pins used for SD card communication and sometimes inputonly look at https://docs.pycom.io/chapter/datasheets/ there are good descriptions about pins - you must choose self.
  • 0 Votes
    6 Posts
    2k Views
    A
    @maamar i've a strange behaviour: main.py from pysense import Pysense from MPL3115A2 import MPL3115A2 from SI7006A20 import SI7006A20 from LTR329ALS01 import LTR329ALS01 from network import Sigfox import socket import time import struct import network wlan = network.WLAN(); wlan.deinit(); while True: py = Pysense(); mp = MPL3115A2(); si = SI7006A20(); lt = LTR329ALS01(); sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ1); #temperature -10000 - 10000 temp = int(round(si.temperature()*100,2)); #humidity 10000 - 0 hum = int(round(si.humidity()*100,0)); #pressure -13000 - 8560 pres = int(round(mp.pressure(),0))-100000; #blue light blue = lt.light()[0]; #red light red = lt.light()[1]; #message message = bytes(struct.pack('>hhhhh',temp,hum,pres,blue,red)); s = socket.socket(socket.AF_SIGFOX, socket.SOCK_RAW); s.setblocking(True); s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, False); s.send(message); s.close(); py.setup_sleep(60); py.go_to_sleep(); If i supply the pysense by usb all works fine, but if i supply it by 5V and GND (first and second pin on the top rigth corner) the Sipy sends only one message. Do you have any suggestions?
  • LoPy - Running On Battery Information

    LoPy expansion board battery lopy
    1
    2 Votes
    1 Posts
    1k Views
    No one has replied
  • DeepSleep Shield

    Comments & Feedback deepsleep expansion board
    4
    0 Votes
    4 Posts
    1k Views
    M
    @ledbelly2142 I just tested this. I have a LoPy on a 18650 battery (via an expansion board), with a current shunt inline to monitor battery current. Control test: Without DeepSleep shield: While connected to USB, I observed charging current going into the battery. If I unplug the USB, then the battery discharges: 100mA for active Wifi, 35mA w/o Wifi, and 10mA for disabled WiFi and machine.deepsleep() With DeepSleep shield: Using the "deepsleep" library with the DeepSleep shield, and connected via USB, I put the device to sleep. The charging current for the battery was unchanged. I then disconnected the USB, and the current draw from the battery dropped below 1mA. I can't measure much lower than that with my setup. Conclusion: The DeepSleep board works as expected with batteries.